package com.baijiaoxi.common.model;

/**
 * 动态属性
 */
public class DynamicField {
    private String key;
    private Object value;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public Object getValue() {
        return value;
    }

    public void setValue(Object value) {
        this.value = value;
    }

    public DynamicField() {
    }

    public DynamicField(String key, Object value) {
        this.key = key;
        this.value = value;
    }

    public static DynamicField build(String key, Object value) {
        return new DynamicField(key, value);
    }
}
